﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcWiki.Model;

namespace MvcWiki.Repository
{
    public interface IUnitOfWork
    {
        void Selected(Entity entity, IUnitOfWorkPersistence persistence);
        void Saved(Entity entity, IUnitOfWorkPersistence persistence);
        void Deleted(Entity entity, IUnitOfWorkPersistence persistence);

        void Commit();
    }
}
